﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014C9 RID: 5321
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateRedDotDataScRsp : IMessage<UpdateRedDotDataScRsp>, IMessage, IEquatable<UpdateRedDotDataScRsp>, IDeepCloneable<UpdateRedDotDataScRsp>, IBufferMessage
	{
		// Token: 0x170042FB RID: 17147
		// (get) Token: 0x0600EDF1 RID: 60913 RVA: 0x0027B9E9 File Offset: 0x00279BE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateRedDotDataScRsp> Parser
		{
			get
			{
				return UpdateRedDotDataScRsp._parser;
			}
		}

		// Token: 0x170042FC RID: 17148
		// (get) Token: 0x0600EDF2 RID: 60914 RVA: 0x0027B9F0 File Offset: 0x00279BF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateRedDotDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042FD RID: 17149
		// (get) Token: 0x0600EDF3 RID: 60915 RVA: 0x0027BA02 File Offset: 0x00279C02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateRedDotDataScRsp.Descriptor;
			}
		}

		// Token: 0x0600EDF4 RID: 60916 RVA: 0x0027BA09 File Offset: 0x00279C09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataScRsp()
		{
		}

		// Token: 0x0600EDF5 RID: 60917 RVA: 0x0027BA14 File Offset: 0x00279C14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataScRsp(UpdateRedDotDataScRsp other) : this()
		{
			this.groupId_ = other.groupId_;
			this.panelId_ = other.panelId_;
			this.lFNNHDHFHHF_ = other.lFNNHDHFHHF_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EDF6 RID: 60918 RVA: 0x0027BA68 File Offset: 0x00279C68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRedDotDataScRsp Clone()
		{
			return new UpdateRedDotDataScRsp(this);
		}

		// Token: 0x170042FE RID: 17150
		// (get) Token: 0x0600EDF7 RID: 60919 RVA: 0x0027BA70 File Offset: 0x00279C70
		// (set) Token: 0x0600EDF8 RID: 60920 RVA: 0x0027BA78 File Offset: 0x00279C78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170042FF RID: 17151
		// (get) Token: 0x0600EDF9 RID: 60921 RVA: 0x0027BA81 File Offset: 0x00279C81
		// (set) Token: 0x0600EDFA RID: 60922 RVA: 0x0027BA89 File Offset: 0x00279C89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PanelId
		{
			get
			{
				return this.panelId_;
			}
			set
			{
				this.panelId_ = value;
			}
		}

		// Token: 0x17004300 RID: 17152
		// (get) Token: 0x0600EDFB RID: 60923 RVA: 0x0027BA92 File Offset: 0x00279C92
		// (set) Token: 0x0600EDFC RID: 60924 RVA: 0x0027BA9A File Offset: 0x00279C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LFNNHDHFHHF
		{
			get
			{
				return this.lFNNHDHFHHF_;
			}
			set
			{
				this.lFNNHDHFHHF_ = value;
			}
		}

		// Token: 0x17004301 RID: 17153
		// (get) Token: 0x0600EDFD RID: 60925 RVA: 0x0027BAA3 File Offset: 0x00279CA3
		// (set) Token: 0x0600EDFE RID: 60926 RVA: 0x0027BAAB File Offset: 0x00279CAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600EDFF RID: 60927 RVA: 0x0027BAB4 File Offset: 0x00279CB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateRedDotDataScRsp);
		}

		// Token: 0x0600EE00 RID: 60928 RVA: 0x0027BAC4 File Offset: 0x00279CC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateRedDotDataScRsp other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.PanelId == other.PanelId && this.LFNNHDHFHHF == other.LFNNHDHFHHF && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EE01 RID: 60929 RVA: 0x0027BB30 File Offset: 0x00279D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.PanelId != 0U)
			{
				num ^= this.PanelId.GetHashCode();
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				num ^= this.LFNNHDHFHHF.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EE02 RID: 60930 RVA: 0x0027BBBA File Offset: 0x00279DBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EE03 RID: 60931 RVA: 0x0027BBC2 File Offset: 0x00279DC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EE04 RID: 60932 RVA: 0x0027BBCC File Offset: 0x00279DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.GroupId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.PanelId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.PanelId);
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.LFNNHDHFHHF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EE05 RID: 60933 RVA: 0x0027BC60 File Offset: 0x00279E60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.PanelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PanelId);
			}
			if (this.LFNNHDHFHHF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LFNNHDHFHHF);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EE06 RID: 60934 RVA: 0x0027BCE8 File Offset: 0x00279EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateRedDotDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.PanelId != 0U)
			{
				this.PanelId = other.PanelId;
			}
			if (other.LFNNHDHFHHF != 0U)
			{
				this.LFNNHDHFHHF = other.LFNNHDHFHHF;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EE07 RID: 60935 RVA: 0x0027BD60 File Offset: 0x00279F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EE08 RID: 60936 RVA: 0x0027BD6C File Offset: 0x00279F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 40U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.PanelId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.LFNNHDHFHHF = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005E13 RID: 24083
		private static readonly MessageParser<UpdateRedDotDataScRsp> _parser = new MessageParser<UpdateRedDotDataScRsp>(() => new UpdateRedDotDataScRsp());

		// Token: 0x04005E14 RID: 24084
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E15 RID: 24085
		public const int GroupIdFieldNumber = 5;

		// Token: 0x04005E16 RID: 24086
		private uint groupId_;

		// Token: 0x04005E17 RID: 24087
		public const int PanelIdFieldNumber = 9;

		// Token: 0x04005E18 RID: 24088
		private uint panelId_;

		// Token: 0x04005E19 RID: 24089
		public const int LFNNHDHFHHFFieldNumber = 15;

		// Token: 0x04005E1A RID: 24090
		private uint lFNNHDHFHHF_;

		// Token: 0x04005E1B RID: 24091
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005E1C RID: 24092
		private uint retcode_;
	}
}
